/*
 * disco.h
 *
 *  Created on: 17/02/2013
 *      Author: alex
 */

#ifndef DISCO_H_
#define DISCO_H_

#include "RayTracer.h"

// Datos específicos del Disco
typedef struct {
        long double Xc,Yc,Zc;
        long double N[3];
        long double RadioM, Radiom;
        long double A, B, C, D;
} disco_t;


long double IntDisco(long double Xe, long double Ye, long double Ze,
						long double Xd, long double Yd, long double Zd,
						long double Xc, long double Yc, long double Zc,
						long double A, long double B, long double C, long double D, long double RadioM, long double Radiom,
						objeto_t *objeto);

long double* NormalDisco(long double N[3]);

#endif /* DISCO_H_ */
